<?php
/*
$params = $this->params;
if (is_array($this->menu) && count($this->menu) > 0) {
    echo '<ul>';
    $current = $params['module'] . '/' . $params['controller'];
    foreach ($this->menu as $key => $value) {
        $name = $value['name'];
        $class = '';
        if ($current == $value['resource']) {
            $class = ' class = "active" ';
        }
        $link = $this->baseUrl($value['resource']);
        echo '<li ' . $class . '><a href="' . $link . '" title="' . $name . '">' . $name . '</a></li>';
    }

    //Thien Le adding menu for Language managment
    $link = $this->url(array('module' => 'language', 'controller' => 'admin', 'action' => 'index'), 'default', true);
    $name = "Language Administration";
    echo '<li ' . $class . '><a target="_blank" href="' . $link . '" title="' . $name . '">' . $name . '</a></li>';
    $link = $this->url(array('module' => 'language', 'controller' => 'manager', 'action' => 'index'), 'default', true);
    $name = "Language Management";
    echo '<li ' . $class . '><a target="_blank" href="' . $link . '" title="' . $name . '">' . $name . '</a></li>';
    //ending add menu for language management

    echo '</ul>';
}
*/
?>
<div class="nav-collapse">
    <ul class="nav">
        <li class="active"><a href="/admin"><?php echo $this->translate('DASHBOARD') ?></a></li>
        <li class="dropdown">
            <a data-toggle="dropdown" class="dropdown-toggle" href="javascipt:void(0)"><?php echo $this->translate('CONTENT') ?> <b class="caret"></b></a>
            <ul class="dropdown-menu">
                <li><a href="/admin/content">News & Events</a></li>
                <li><a href="javascipt:void(0)">Static Pages</a></li>
                <li class="divider"></li>
                <li class="nav-header"><?php echo $this->translate('CATEGORY') ?></li>
                <li><a href="/admin/category">Category</a></li>
            </ul>
        </li>
    </ul>
</div>